#ifndef DEVICESELECTIONDIALOG_H
#define DEVICESELECTIONDIALOG_H

#include <QtGui/QDialog>

#include "ui_DeviceSelectionDialog.h"

class DeviceSelectionDialog : public QDialog
{
Q_OBJECT

public:
	DeviceSelectionDialog(QWidget* parent = 0, Qt::WFlags flags = 0);
	~DeviceSelectionDialog();

	void addDevice(const QString& name);

	const QString& selectedDevice() const { return m_selectedName; }

public slots:
	void deviceSelected(const QString& name);

private:
	Ui::Dialog ui;

	QString m_selectedName;
};

#endif
